package com.itheima.Interface2;

import com.itheima.Abstract3.People;

public class Test {
    public static void main(String[] args) {
        People p = new Teacher();
        Mammal m = new Teacher();
        Animal a = new Teacher();

    }

    interface Animal{}

    interface Mammal{}
    static class People{ }
    static class Teacher extends People implements Mammal, Animal{}
}
